package com.uni.exp4.service;

import com.uni.exp4.dao.UserDao;
import com.uni.exp4.pojo.User;

public class UserServiceImpl implements UserService{
    private UserDao userDao;
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }
    @Override
    public void addUser(User user) {
        userDao.save(user);
    }
}
